package leesoft.toolbox;

import java.util.logging.Logger;

public class StringTool {
	public static String doAbc(String str){
		if(str!=null && str!=""){
			str = str.substring(0,1).toUpperCase()+str.substring(1); 
		} 
		return str;

	}
	public static String convertRequestCoding(String src){
		if(src==null)
			return null;
		else
			try{
				return new String(src.getBytes("ISO8859-1"),"UTF-8");
			}catch(Exception e){
				e.printStackTrace();
				return "";
			}
	}
}
